package com.example.demo.ServiceImpl;

import com.example.demo.Entity.ClassInfo;
import com.example.demo.Mapper.ClassinfoMapper;
import com.example.demo.Service.ClassInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClassInfoServiceImpl implements ClassInfoService {

    @Autowired
    private ClassinfoMapper classinfoMapper;

    @Override
    public List<ClassInfo> findAllClassInfo() {
        return classinfoMapper.findAllClassInfo();
    }
}
